<!--{if $arrJiajucompany['jiajucompany_isfvip']==1}-->
<!--<include file="Jiaju_Extend::getTemplate($arrJiajucompany,'vipheader',true)" />-->
<!--{d*else}-->
<!--<include file="Core_Extend::template('header')" />-->
<!--{/if}-->

<script type="text/javascript" src="<!--{:__PUBLIC__}-->/js/calendar/datepicker/WdatePicker.js"></script>
<!--{~$sCalendarLang=Core_Extend::calendar()}-->
<!--{:Core_Extend::validate()}-->

<!--{script}-->
function addOrder(){
	$("#submit_button").attr("disabled","disabled");
	$("#submit_button").val('提交预约...');
	Q.AjaxSubmit('addOrder',Q.U('jiaju://shop/add_order'),'',function(data,status){ 
		$("#submit_button").attr("disabled",false);
		$("#submit_button").val("提交预约");
		if(status==1){
			setTimeout(function(){
				window.location.replace(_SELF_);
			},1000);
		}
	});
}

checkForm(addOrder);
<!--{/script}-->

	<!--{if !$arrJiajucompany['jiajucompany_isfvip']}-->
	<div class="container_12">
		<ul class="breadcrumb">
			<li><a href="<!--{:__APP__}-->" title="<!--<lang package='__COMMON_LANG__@Common'>-->主页<!--</lang>-->"><!--<lang package='__COMMON_LANG__@Common'>-->主页<!--</lang>--></a>&nbsp;<span class="divider">/</span>&nbsp;</li>
			<li><a href="<!--{:Q::U('[D]~@jiaju://public/index')}-->" title="<!--<lang package='Template'>-->家居装饰<!--</lang>-->"><!--<lang package='Template'>-->家居装饰<!--</lang>--></a>&nbsp;<span class="divider">/</span>&nbsp;</li>
			<li><a href="<!--{:Q::U('[D]~@jiaju://company/index')}-->"><!--{$GLOBALS['_citysite_']['site_name']}--><!--<lang package='Template'>-->装修公司排名<!--</lang>--></a>&nbsp;<span class="divider">/</span>&nbsp;</li>
			<li><a href="<!--{:Jiaju_Extend::getShopUrl($arrJiajucompany)}-->"><!--{$arrJiajucompany['jiajucompany_fullname']}--></a>&nbsp;<span class="divider">/</span>&nbsp;</li>
			<li>添加预约</li>
		</ul>
	</div>
	<!--{/if}-->

	<div class="container_12 container_box">
		<!--{if $arrJiajucompany['jiajucompany_isfvip']==1}-->
		<!--<include file="Jiaju_Extend::getTemplate($arrJiajucompany,'menu',true)" />-->
		<!--{/if}-->
		
		<div class="grid_12">
			<div class="common_contentbox common_contentboxwhite clearfix">
				<div class="common_contentbody">
					<h1 class="title">在线预约</h1>
					<div class="orderbox" style="width:940px;margin:auto;">
						<div class="order_logo left">
							<a href="<!--{:Jiaju_Extend::getShopUrl($arrJiajucompany)}-->" title="<!--{$arrJiajucompany['jiajucompany_fullname']}-->"><img src="<!--{:Jiaju_Extend::getLogo($arrJiajucompany['jiajucompany_logo'])}-->" width="100" height="100"></a>
						</div>
						<div class="order_box">
							<div class="order_companyname">
								预约：<a href="<!--{:Jiaju_Extend::getShopUrl($arrJiajucompany)}-->" title="<!--{$arrJiajucompany['jiajucompany_fullname']}-->"><!--{$arrJiajucompany['jiajucompany_fullname']}--></a>
							</div>
							<div class="order_address">所在地区：<!--{$arrJiajucompany['jiajucompany_address']}--></div>
							<div class="tips order_tips">请认真填写以下信息，我们会尽快与你联系！（带<span class="red"> * </span>为必填项目）</div>
						</div>
						<div class="clearfix"></div>
						
						<form class="form-horizontal validate" method='post' id="addOrder" name="addOrder">
							<fieldset>
								<div class="control-group">
									<label class="control-label" for="jiajuorder_realspace">建筑面积<em style="color:red">*</em></label>
									<div class="controls">
										<input class="input-xlarge {required:true,digits:true,min:0}" id="jiajuorder_realspace" name="jiajuorder_realspace" type="text" value="">&nbsp;㎡
										<p class="input_tips">选择你装修房子的建筑面积。</p>
										<p class="input_errortips"></p>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="jiajuorder_spaceid">房屋类型<em style="color:red">*</em></label>
									<div class="controls">
										<select name="jiajuorder_spaceid" id="jiajuorder_spaceid" class="{required:true}">
											<!--<foreach for="arrOrderClasss['space']">-->
											<option value="<!--{$value['jiajucompanyclass_id']}-->"><!--{$value['jiajucompanyclass_name']}--></option>
											<!--</foreach>-->
											<option value="" selected="selected">请选择您的装修类型</option>
										</select>
										<p class="input_tips">选择你装修房子的房屋类型。</p>
										<p class="input_errortips"></p>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="jiajuorder_type">装修需求<em style="color:red">*</em></label>
									<div class="controls">
										<select name="jiajuorder_type" id="jiajuorder_type" class="{required:true}">
											<option value="" selected="selected">请选择装修需求</option>
											<option value="1">申请设计</option>
											<option value="2">申请报价</option>
											<option value="3">申请设计和报价</option>
											<option value="4">申请报价设计和施工</option>
											<option value="5">申请监理</option>
											<option value="6">申请免费验房</option>
											<option value="7">申请装修套餐服务</option>
										</select>
										<p class="input_tips">选择你的装修需求。</p>
										<p class="input_errortips"></p>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="jiajuorder_biddingcode">招标编号</label>
									<div class="controls">
										<input class="input-xlarge {digits:true,min:0}" id="jiajuorder_biddingcode" name="jiajuorder_biddingcode" type="text" value="" style="width:70px;">
										<p class="input_tips">如果已发布招标，选择你在网站发布的招标编号。</p>
										<p class="input_errortips"></p>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="jiajuorder_time">预约商家服务时间<em style="color:red">*</em></label>
									<div class="controls">
										<input class="input-xlarge {required:true}" id="jiajuorder_time" name="jiajuorder_time" type="text" value="<!--{:date('Y-m-d',CURRENT_TIMESTAMP)}-->" onclick="WdatePicker({el:'jiajuorder_time',skin:'ext',lang:'<!--{$sCalendarLang}-->',dateFmt:'yyyy-MM-dd'})" style="width:70px;">
										<p class="input_tips">选择需要商家提供服务的时间。</p>
										<p class="input_errortips"></p>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="jiajuorder_realname">真实姓名<em style="color:red">*</em></label>
									<div class="controls">
										<input class="{required:true,maxlength:20}" id="jiajuorder_realname" name="jiajuorder_realname" type="text" value="">
										<p class="input_tips">填写真实姓名（必须中文），才能享受投诉保障。</p>
										<p class="input_errortips"></p>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="jiajuorder_mobile">手机号码<em style="color:red">*</em></label>
									<div class="controls">
										<input class="{required:true,isMobile:true}" id="jiajuorder_mobile" name="jiajuorder_mobile" type="text" value="">
										<p class="input_tips">必须填写真实的手机号码，以便于商家联系你。</p>
										<p class="input_errortips"></p>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="jiajuorder_qq">QQ<em style="color:red">*</em></label>
									<div class="controls">
										<input class="{required:true,isQQ:true}" id="jiajuorder_qq" name="jiajuorder_qq" type="text" value="">
										<p class="input_tips">必须填写真实的QQ号码，备用联系方式，以便于商家联系你。</p>
										<p class="input_errortips"></p>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="jiajuorder_address">你的联系地址</label>
									<div class="controls">
										<input class="{maxlength:150}" id="jiajuorder_address" name="jiajuorder_address" type="text" value="">
										<p class="input_errortips"></p>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="jiajuorder_remark">特别要求填写备注</label>
									<div class="controls">
										<textarea class="{maxlength:250}" id="jiajuorder_remark" name="jiajuorder_remark" type="text" value="" style="width:500px;height:100px;"></textarea>
										<p class="input_errortips"></p>
									</div>
								</div>
								<div class="form-actions">
									<input type="hidden" name="ajax" value="1">
									<input type="submit" id="submit_button" class="btn" value="提交预约" />
								</div>
							</fieldset>
						</form>
					</div>

					<div class="tips tips-highlight">当商家收到你的预约申请后，他们会在第一时间通过你填写的联系方式联系您。</div>
				</div>
			</div>
		</div>
		<div class="clearfix"></div>
	
	</div>

<!--<include file="Core_Extend::template('footer')" />-->